<?php
$this->pageTitle = 'My Bookmark Folders - ' . Yii::app()->name;
$this->sectionTitle = 'Bookmark Folders';

$this->menu = array(
    array('label' => '<span class="folder-add"></span>add bookmark folder', 'url' => array('bookmarkfolder/create'),
        'itemOptions' => array('class' => 'action'),
        'linkOptions' => array('class' => 'button button-blue')),
    array('label' => '<span class="folder-manage"></span>manage bookmark folders', 'url' => array('bookmarkFolder/manage'),
        'itemOptions' => array('class' => 'action'),
        'linkOptions' => array('class' => 'button button-blue')),
);

$this->viewModes = array(
    array('label' => 'all bookmark folders', 'url' => array('bookmarkFolder/index'),),
    array('label' => 'all bookmarks', 'url' => array('bookmark/index'),),
);
?>

<?php

$this->widget('zii.widgets.CListView', array(
    'dataProvider' => $dataProvider,
    'itemView' => '_view',
    'itemsTagName' => 'ul',
    'template' => '{sorter}{items}{pager}',
    'itemsCssClass' => 'listing list-view',
    'htmlOptions' => array('class' => '',),
));
?>
